package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.HonorLabourDao;
import com.site.wisdom_construction.entity.personnelModule.HonorLabour;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/7
 * @Description
 */
@Service
public class HonorLabourService implements HonorLabourDao {
    @Autowired
    private HonorLabourDao honorLabourDao;

    @Override
    public int insertHonorLabour(Map map) {
        return honorLabourDao.insertHonorLabour(map);
    }

    @Override
    public int deleteHonorLabour(Map map) {
        return honorLabourDao.deleteHonorLabour(map);
    }

    @Override
    public int updateHonorLabour(Map map) {
        return honorLabourDao.updateHonorLabour(map);
    }

    @Override
    public List<HonorLabour> findHonorLabourByPage(Map map) {
        return honorLabourDao.findHonorLabourByPage(map);
    }

    @Override
    public long Total(Map map) {
        return honorLabourDao.Total(map);
    }

    @Override
    public HonorLabour findHonorLabourById(Map map) {
        return honorLabourDao.findHonorLabourById(map);
    }
}
